dict1 = dict2 = {1:"张三",2:"lisi",3:"lily",4:"lucy",5:"张三",6:"lily",7:"lisi"}
a = dict.values(dict1)
print(a)
a = list(a)
dict3={}
for v in a:
    dict3 [v]=a.count(v)
print(dict3)
for x,y in dict3.items():
    print(f"名字{x}出现的次数{y}")